<?php
        //Pripojenie
        mysql_connect("localhost", "root", "") or die("Could not connect: " . mysql_error());
        mysql_select_db("zadania") or die("cannot select DB");

        //UTF8
        mysql_query("SET names UTF8");

        //STARTUJE SESSION
        @session_start();
        //session_register("logged");
        //session_register("logged-user");
?>